using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
using System.Diagnostics;

using System.Security;
using System.Runtime.InteropServices;

namespace MSNSearch
{
	[SuppressUnmanagedCodeSecurity]
	internal static class SafeNativeMethods
	{
		public enum BeepType
		{

			/// <summary>
			/// A simple windows beep
			/// </summary>            
			SimpleBeep = -1,
			/// <summary>
			/// A standard windows OK beep
			/// </summary>
			OK = 0x00,
			Standard = OK,
			/// <summary>
			/// A standard windows Question beep
			/// </summary>
			Question = 0x20,
			/// <summary>
			/// A standard windows Exclamation beep
			/// </summary>
			Exclamation = 0x30,
			/// <summary>
			/// A standard windows Asterisk beep
			/// </summary>
			Asterisk = 0x40,
		}
		[DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
		[return: MarshalAs(UnmanagedType.Bool)]
		public static extern Boolean MessageBeep ( BeepType type );
	}
}
